<div class="layui-form" lay-filter="my-about">
  <div class="layui-card-header">版本</div>
  <div class="layui-card-body layui-text layadmin-about">
    <blockquote class="layui-elem-quote" style="border: none;">
      <script type="text/html" template>
      <p>版本：layuiAdmin-v{{ layui.admin.v }}</p>
    </script>
    </blockquote>
  </div>

  <div class="layui-card-header">关于</div>
  <div class="layui-card-body layui-text layadmin-about">
    <blockquote class="layui-elem-quote" style="border: none;">
      layuiAdmin 是一套用于开发各类管理系统的通用型纯静态网页界面模板，在原有 layui 的基础上，重点升级了 layout 布局方案，以及对内置的 UI
      组件在各类实际业务场景下进行相对丰富的模拟示例。该界面模板受国家计算机软件著作权保护（登记号：2018SR410669），禁止公开及传播模板源文件、盗版及非法倒卖等，违者将自行承担相应的法律责任。
    </blockquote>
  </div>

  <div class="layui-card-header">调试</div>
  <div class="layui-form-item">
    <div class="layui-card-body layui-text layadmin-about">
      <blockquote class="layui-elem-quote" style="border: none;">
        <button type="button" class="layui-btn" id="mybtnid">调用API</button>
        <script type="text/html" template lay-url="{{layui.setter.apiUrl}}/demo-api/demo">
          <p>errors: {{ d.errors }}</p>
          <p>data: {{ d.data }}</p>    
      </script>
      </blockquote>
    </div>
  </div>
</div>

<script>
  layui.use(['admin','setter'], function () {
    var $ = layui.$
      , admin = layui.admin
      , setter = layui.setter;

    var url= setter.apiUrl
    $.ajax({
      url: url+"/demo-api/demo",
      success: function (result) {
        console.info(result);
      }
    });

    $('#mybtnid').click(function () {
      admin.popup({
        id: 'LAY-popup-test1'
        , success: function () {
          view(this.id).render('system/about', { errors: "dfadf", data: "dfdfadfadfasdfadsf" });
        }
      });
    });





  });

</script>